<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC_ADMIN_DIR__/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC_ADMIN_DIR__/js/jquery.js"></script>
<script language="javascript">
$(function(){	
	//导航切换
	$(".imglist li").click(function(){
		$(".imglist li.selected").removeClass("selected")
		$(this).addClass("selected");
	})	
})	
</script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

	$('.recycle').bind('click',function(){
		window.location.href = '__CONTROLLER__/recycle';
	});
	
});
</script>
<style> 
    .pages a,.pages span {  
        display: inline-block;  
        padding: 4px 10px;  
        margin: 0 4px;  
        border: 1px solid #f0f0f0;  
        -webkit-border-radius: 3px;  
        -moz-border-radius: 3px;  
        border-radius: 3px;  
    }  
      
    .pages a,  
    .pages li {  
        display: inline-block;  
        list-style: none;  
        text-decoration: none;  
        color: #58A0D3;  
    }  
      
    .pages a.first,  
    .pages a.prev,  
    .pages a.next,  
    .pages a.end {  
        margin: 0;  
    }  
      
    .pages a:hover {  
        border-color: #50A8E6;  
    }  
      
    .pages span.current {  
        background: #50A8E6;  
        color: #FFF;  
        font-weight: 700;  
        border-color: #50A8E6;  
    }  
    .checkid{
    	width: 15px;
    	height: 15px;
    	display: block;
    	margin: 0 auto;
    }

	.border-blue{
		border: 1px solid #0ae;
		border-radius: 5px;
		color: #0ae;
	}
	.border-yellow{
		border: 1px solid #f60;
		border-radius: 5px;
		color: #f60;
	}
	.border-blue:hover{
		color:#fff;border-color:#3bd;background-color:#3bd;
	}
	.border-yellow:hover{
		color:#fff;border-color:#f60;background-color:#f60;
	}
	.button-little{
		padding:3px 5px;
		font-size:12px;
		font-weight:normal;
		line-height:16px;
	}
</style>
</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="{:U('Manage/index')}" target="_parent">首页</a></li>
    <li><a href="javascript:;">文章列表</a></li>
    </ul>
    </div>
    <form action="#" method="post">
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li><span><img src="__PUBLIC_ADMIN_DIR__/images/t01.png" /></span>全选</li>
        <li><span><img src="__PUBLIC_ADMIN_DIR__/images/t02.png" /></span>修改</li>
        <li class="recycle"><span><img src="__PUBLIC_ADMIN_DIR__/images/t03.png" /></span>回收站</li>
        <li><span><img src="__PUBLIC_ADMIN_DIR__/images/t04.png" /></span>统计</li>
        </ul>
        
        
        <ul class="toolbar1">
        <li><span><img src="__PUBLIC_ADMIN_DIR__/images/t05.png" /></span>设置</li>
        </ul>
    
    </div>
    
    
    <table class="imgtable" cellpadding="0" cellspacing="0">
    <thead>
	    <tr>
	    	<th width="5%">选择</th>
		    <th width="10%">缩略图</th>
		    <th width="20%">标题</th>
		    <th width="32%">描述</th>
		    <th width="13%">作者</th>
		    <th width="5%">点击数</th>
		    <th width="5%">评价数</th>
		    <th width="10%">操作</th>
	    </tr>
    </thead>
    
    <tbody>
    	<foreach name='data' item='row'>
	    <tr>
	    	<td><input type="checkbox" name="id[]" class="checkid" /></td>
		    <td class="imgtd"><img src="{$row.thumb}" width="80" height="60" /></td>
		    <td><a href="{:U('single',array('id'=>$row['id']))}" title="点击查看文章详情">{$row.title}</a><p>发布时间：{$row.cre_time}</p></td>
		    <td><span title="{$row.ar_desc}">{$row.ar_desc|msubstr='0','50'}</span></td>
		    <td>{$row.author}</td>
		    <td>{$row.hits}</td>
		    <td>10</td>
		    <td> 
		    	<a class="border-blue button-little" href="{:U('edit',array('id'=>$row['id']))}">修改</a> 
                <a class="border-yellow button-little" href="{:U('logicDelete',array('id'=>$row['id'],'cate_pid'=>$row['cate_pid']))}" onclick="return confirm('确定删除吗')" >删除</a>
		    </td>
	    </tr>
	    </foreach>
    </tbody>
    
    </table>
    
    
    
    
    
   
    <div class="pagin">
    	<div class="message">共<i class="blue">{$count}</i>条记录，当前显示第&nbsp;<i class="blue">{$p}&nbsp;</i>页</div>
        <ul class="paginList">
	        <!--<li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
	        <li class="paginItem"><a href="javascript:;">1</a></li>
	        <li class="paginItem current"><a href="javascript:;">2</a></li>
	        <li class="paginItem"><a href="javascript:;">3</a></li>
	        <li class="paginItem"><a href="javascript:;">4</a></li>
	        <li class="paginItem"><a href="javascript:;">5</a></li>
	        <li class="paginItem more"><a href="javascript:;">...</a></li>
	        <li class="paginItem"><a href="javascript:;">10</a></li>
	        <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>-->
	        <div class="pages">  
	            {$pageStr}  
	        </div> 
        </ul>
    </div>
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__PUBLIC_ADMIN_DIR__/images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        	
	        <input name="" type="submit" class="sure" value="确定" />&nbsp;
	        <input name="" type="button" class="cancel" value="取消" />
		    
        </div>
    
    </div>
    
    
    
    
    </div>
    </form>
<script type="text/javascript">
	$('.imgtable tbody tr:odd').addClass('odd');
	</script>
</body>
</html>
